<?php


namespace api\web\controller;


use cmf\controller\RestBaseController;
use think\facade\Db;

class DynamicController extends RestBaseController
{
    public function index()
    {
        $res = Db::name('dynamic')
            ->select();
        $this->success('学生动态列表',$res);
    }
}